package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.BdActLeave;
import org.apache.ibatis.annotations.Select;

/**
* @author admin
* @description 针对表【act_leave】的数据库操作Mapper
* @createDate 2023-10-27 16:56:43
* @Entity generator.domain.ActLeave
*/
public interface ActLeaveMapper extends BaseMapper<BdActLeave> {
    @Select("select * from bd_act_leave where activity_id = #{id}")
    BdActLeave selectByActiveId(Integer id);

//    @Select("select * from act_leave where id = #{id}")
//    HashMap<String, Object> selectById(Integer id);

}




